package com.ruoyi.show.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出版数量趋势对象 publish_year_trend
 * 
 * @author ruoyi
 * @date 2025-09-08
 */
public class PublishYearTrend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 年份 */
    @Excel(name = "年份")
    private Long publishYear;

    /** 出版数量 */
    @Excel(name = "出版数量")
    private Long bookCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPublishYear(Long publishYear) 
    {
        this.publishYear = publishYear;
    }

    public Long getPublishYear() 
    {
        return publishYear;
    }

    public void setBookCount(Long bookCount) 
    {
        this.bookCount = bookCount;
    }

    public Long getBookCount() 
    {
        return bookCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("publishYear", getPublishYear())
            .append("bookCount", getBookCount())
            .toString();
    }
}
